package Humans;

import au.pavel.Units.IAttackObject;
import au.pavel.Units.IDestroyableObject;

public class Solder implements IDestroyableObject, IAttackObject {
	private float _totalHealth;
	private float _totalArmor;
	private float _pureAttack;
	private float _actualHealth;

	public Solder(float health, float armor, float attack){
		_totalHealth = _actualHealth = health;
		_totalArmor = armor;
		_pureAttack = attack;
	}

	/* (non-Javadoc)
	 * @see Humans.IDestroyableObject#get_totalHealth()
	 */
	@Override
	public float get_totalHealth() {
		return _totalHealth;
	}

	/* (non-Javadoc)
	 * @see Humans.IDestroyableObject#set_totalHealth(float)
	 */
	@Override
	public void set_totalHealth(float _totalHealth) {
		this._totalHealth = _totalHealth;
	}

	public float get_totalArmor() {
		return _totalArmor;
	}

	public void set_totalArmor(float _totalArmor) {
		this._totalArmor = _totalArmor;
	}

	/* (non-Javadoc)
	 * @see Humans.IAttackObject#get_pureAttack()
	 */
	@Override
	public float get_pureAttack() {
		return _pureAttack;
	}

	/* (non-Javadoc)
	 * @see Humans.IAttackObject#set_pureAttack(float)
	 */
	@Override
	public void set_pureAttack(float _pureAttack) {
		this._pureAttack = _pureAttack;
	}
	
	public float get_actualHealth(){
		return _actualHealth;
	}

	public void set_actualHealth(float _actualHealth){
		this._actualHealth = _actualHealth;
	}

}
